#include"Delay.h"
#include"led.h"
#include "usart.h"
#include "i2c.h"
#include"eeprom.h"
int main()
{
   usart_init();
   iic_init();
   printf("anccd\n");
	 eeprom_write(0x00,'a');
    eeprom_write(0x01,'b');
    eeprom_write(0x02,'c');
    printf("%c\t %c\t %c\t",eeprom_read(0x00),eeprom_read(0x01),eeprom_read(0x02));
	
	uint8_t buffer[100]={0};
	eemprom_writebytes(0x00,"123456",6);
	eeprom_readbytes(0x00,buffer,6);
	printf("%s",buffer);
   while(1)
   {
      
   }
}
